<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('商品名称')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input id="c-name" data-rule="required" class="form-control" readonly name="" type="text" value="{$row.title|htmlentities}">
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('分类')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input id="c-category_id" data-rule="required"   class="form-control" readonly type="text" value="{$row.category_id|htmlentities}">
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('规格')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input id="c-number" data-rule="" class="form-control" name="" readonly type="text" value="{$row.difference|htmlentities}">
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('成本价')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input id="c-cost_price" data-rule="" class="form-control" name="row[cost_price]" type="text" value="{$row.cost_price|htmlentities}">
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('零售价')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input id="c-spell" data-rule="" class="form-control" name="row[price]" type="text" value="{$row.price|htmlentities}">
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('库存')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input id="c-contacts" data-rule="" class="form-control" name="row[stock]" type="text" value="{$row.stock|htmlentities}">
    </div>
  </div>
  <input type="hidden" name="row[id]" value="{$row.id}"  >

  <div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
      <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
    </div>
  </div>
</form>
